package com.xxb.task.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author panghu
 * @version 1.0.0
 * @createTime 2023年04月06日 17:36:00
 * @Description
 */
@RestController
@Slf4j
public class TestController {

    @GetMapping("/index")
    public String test(){
        log.info(Thread.currentThread().getName() + "进来了Controller方法.....");
        return "hello task";
    }

}
